SELECT * FROM ip_properties WHERE prActive = 1 AND (prLocation LIKE '{807b4dd9106a841eb132e46bce9a1c5d1db059ad2a0732a0735a0eb0fb56d581}Amberg{807b4dd9106a841eb132e46bce9a1c5d1db059ad2a0732a0735a0eb0fb56d581}' OR prCity = 'Amberg' OR prZip = 'Amberg' OR prStreet LIKE '{807b4dd9106a841eb132e46bce9a1c5d1db059ad2a0732a0735a0eb0fb56d581}Amberg{807b4dd9106a841eb132e46bce9a1c5d1db059ad2a0732a0735a0eb0fb56d581}' OR prCountry = 'Amberg') AND (prLocation LIKE '{807b4dd9106a841eb132e46bce9a1c5d1db059ad2a0732a0735a0eb0fb56d581}Germany{807b4dd9106a841eb132e46bce9a1c5d1db059ad2a0732a0735a0eb0fb56d581}' OR prCity = 'Germany' OR prZip = 'Germany' OR prStreet LIKE '{807b4dd9106a841eb132e46bce9a1c5d1db059ad2a0732a0735a0eb0fb56d581}Germany{807b4dd9106a841eb132e46bce9a1c5d1db059ad2a0732a0735a0eb0fb56d581}' OR prCountry = 'Germany')